const {
    text
} = require('body-parser')
let mongoose = require('mongoose')
module.exports = mongoose.model('cate', {
    cate: {
        type: Number,
        required: true
    },
    name: {
        type: String,
        required: true
    },
    catename: {
        type: String,
        required: true
    },
    price: {
        type: String,
        required: true
    },
    img: {
        type: String,
        required: true
    },
    context: {
        type: String,
        required: false
    },
    num: {
        type: Number,
        required: true
    }
})